<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/pages/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>排序编辑界面</title>
<s:include value="/WEB-INF/pages/common/reference.jsp" />
<bees:editor-import />
</head>
<body>
	<center>
		<div id="container">
			<form action="${fun:url('/backstage/clause/sorting','edit','modify','') }">
				<s:hidden name="domain.id" value="%{#request.domain.id}" />
				<bees:editor style="width:100%;height:auto;"
					rows="[
						{name:'名称',height:'30px',editer:{
								type:'text',
								name:'domain.name',
								property:'name',
								placeholder:'请输入排序的名称',
								size:'30'
							}
						},
						{name:'表',height:'30',editer:{
								type:'table',
								name:'domain.mapper',
								property:'mapper'
							}
						},
						{name:'依据列表',height:'30px',editer:{
								type:'order',
								table:'domain.mapper',
								container:'pair',
								by:{
									name:'domain.properties',
									property:'properties',
									placeholder:'属性名'
								},
								order:{
									name:'domain.sequences',
									property:'sequences'
								}
							}
						},
						{name:'备注',height:'120px',editer:{
								type:'textarea',
								name:'domain.description',
								property:'description',
								style:'resize:none;',
								placeholder:'请输入备注',
								cols:'50',
								rows:'5'
							}
						}
					]"
					domain="${domain }" />
			</form>
		</div>
	</center>
</body>
</html>